//auto gen by paipai.java.augogen ver 143
//author floatman
#ifndef _HELLOWORLDAO_ERP_H_
#define _HELLOWORLDAO_ERP_H_

#include <stdint.h>
#include <string>
#include <iostream>
#include "app_platform/help_macros.h"
#include "app_platform/intf_service.h"
#include "intf_helloworldao.h"

#include "library/basic/singleton_t.h"
#include "library/basic/sync_lock.h"
#include "c2cent/library/log/CWTimeElf3.h"


HEADER_SELF_DEFINE_START
/**
*  请在这里增加自定义包含的头文件，否则无法合并代码
**/
HEADER_SELF_DEFINE_END

namespace com
{
namespace erp
{
namespace test
{
namespace ao
{

#define HELLOWORLDAO_SERVICE_VERSION "COM_ERP_TEST_AO___HELLOWORLDAO__SERVICE_VERSION__1.0 2013-09-30 17:49:46"
const std::string HELLOWORLDAO_SERVICE_NOUSE = HELLOWORLDAO_SERVICE_VERSION;

SERVICE class CHelloworldAo : public IHelloworldAo{
public:
		CHelloworldAo(enum DeployMethod method = DEPLOY_STANDALONE);
		~CHelloworldAo();
		static int Initialize(IUserDefineCntl* pCntl = NULL);

public:
	 /**
	 *
	 *   say hello
	 *
	 */
	EXPORT(0xc0281801) uint32_t SayHello(
		 const CCntlInfo& rCntlInfo,
		 const std::string& strNickName,
		 uint32_t& dwAge
		);

SECTION_SELF_DEFINE_START
/**
* 请在这里增加自定义的成员变量和函数，否则无法合并代码
**/
SECTION_SELF_DEFINE_END

private:
	enum DeployMethod m_method;
};

}
}
}
}

#endif /* _HELLOWORLDAO_ERP_H_ */